From a0933c7ea8cb6bcf92c254be18b409fe046e2236 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 6 Jul 2005 08:46:38 +0000 Subject: [PATCH] Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4 where an unintialized variable is used in a function. Signed-off-by: Jerone Young --- xen/arch/x86/vmx_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/vmx_io.c b/xen/arch/x86/vmx_io.c index dba622d546..83e79d6bba 100644 --- a/xen/arch/x86/vmx_io.c +++ b/xen/arch/x86/vmx_io.c @@ -621,7 +621,7 @@ static inline int irq_masked(unsigned long eflags) void vmx_intr_assist(struct vcpu *v) { - int intr_type; + int intr_type = 0; int highest_vector = find_highest_pending_irq(v, &intr_type); unsigned long intr_fields, eflags, interruptibility, cpu_exec_control; -- 2.30.2